<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page import="com.lgx.common.web.Constants,com.lgx.right.entity.User" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
	/* User user = (User) request.getSession().getAttribute(Constants.LOGIN_USER);   //获取到当前登录人对象 */
	User onlineUser = (User)request.getSession().getAttribute("onlineUser"); 
	//request.setAttribute("user", user);
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>修改当前登录人信息</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<jsp:include page="/page/head.jsp"></jsp:include>
  </head>
  
  <body>
   <div class="right"><!-- 外层div -->
   <h1><b>修改[${onlineUser.truename}]信息</b><span><img src="<%=path%>images/right_h1bg2.jpg" width="3" height="29" /></span></h1>
		<div class="easyui-tabs" fit="true" plain="true" style="height:540px;width:800px;">
			<div class="ri_main" title="用户信息" style="padding:20px;height: 500px;">
				<iframe id="user" name="user" scrolling="yes" frameborder="0" height="500"  src="<%=path%>/user/loginUserInit.do" style="width:100%;"></iframe>
			</div>
			<c:if test="${onlineUser.orgId != '' && onlineUser.orgId != 0 }">
				<div class="ri_main" title="${onlineUser != null&&onlineUser.orgName != ''?onlineUser.orgName:'商家信息'}" style="padding:20px;height:500px;">
					<iframe id="organization" name="organization" scrolling="yes" frameborder="0" src="<%=path%>/organization/loginUserPer.do?otype=${onlineUser.orgType}&organizationId=${onlineUser.orgId}" style="width:100%;height: 500px;"></iframe>
				</div>
				<%-- <c:choose>
					<c:when test=""></c:when>
					<c:otherwise>
						<div class="ri_main" title="${onlineUser != null&&onlineUser.orgName != ''?onlineUser.orgName:'商家信息'}" style="padding:20px;height:500px;">
						<iframe id="organization" name="organization" scrolling="yes" frameborder="0" src="<%=path%>/organization/loginUserPer.do?otype=${onlineUser.orgType}&organizationId=${onlineUser.orgId}" style="width:100%;height: 500px;"></iframe>
						</div>
					</c:otherwise>
				</c:choose> --%>
			</c:if>
			
		</div>
	</div>
  </body>
</html>
